<html>
    <body>
        <center>
            <h1>CEAB Program Evaluation Form</h1>
            <h2>{{ student.full_name }}, {{ student.uw_id }}</h2>
            <h2>{{ date|date:"F d, Y" }}</h2>
        </center>

        {% include "plan/validation_results.html" %}

        <hr />
        <div id="Plan">
            {% for t in plan %}
            <table class="plannedTerm" border="0" id="{{ t.term }}" width="95%">
            <tr>
                <td colspan="8">
                    <h2><center>{{ t.term }}<center></h2>
                </td>
            </tr>
            <tr>
                <th>Course Code</th>
                <th>Course Name</th>
                <th>Math</th>
                <th>Science</th>
                <th>Eng. Science</th>
                <th>Eng. Design</th>
                <th>CSE</th>
            </tr>

            {% for c in t.courses %}
            <tr class="{% cycle 'rowOne' 'rowTwo' %}">
                <td>{{ c.course.short_form }}</td>
                <td>{{ c.course.full_name }}</td>
                <td>{{ c.course.te_math }}</td>
                <td>{{ c.course.te_sci }}</td>
                <td>{{ c.course.te_engsci }}</td>
                <td>{{ c.course.te_engdes }}</td>
                <td>{{ c.course.cse }}</td>
            </tr>
            {% endfor %}
        </table>
        <hr />
        {% endfor %}
        </div>
    </body>
</html>
